home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 2
/
Gold Medal Software Volume 2 (Gold Medal) (1994).iso
/
bbsutils
/
sappha.arj
/
SYSOP.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-01-01
|
2KB
|
107 lines
@ECHO OFF
ECHO OFF
IF (%1) == (X) GOTO MAIN
IF NOT EXIST SYSOP.MNU GOTO ONLYA
IF NOT EXIST CHKFILES.EXE GOTO TROUBLE
CHKFILES
IF ERRORLEVEL 1 GOTO TROUBLE
GOTO MAIN
:ONLYA
CLS
ECHO You appear to have only the first part of the Sapphire package.
ECHO The first part (known as the SAPPHA, or Documentation, file set)
ECHO contains documentation files and associated programs. The second
ECHO part (known as the SAPPHB, or Programs, file set) contains the rest
ECHO of the Sapphire package. You should be able to get the SAPPHB part
ECHO from the same place you got the SAPPHA part.
GOTO TROUBL2
:TROUBLE
CLS
:TROUBL2
ECHO
ECHO Since you using a partial copy of the Sapphire package, we will
ECHO jump directly to the information menu.
ECHO
PAUSE
IF EXIST INFO.MNU INFO Y
CLS
ECHO The info menu is missing! Your Sapphire package is incomplete.
ECHO Contact Pinnacle Software at 514-345-9578 for assistance.
ECHO
GOTO QUIT
:MAIN
GO-MENU SYSOP.MNU 000 SAPPHIRE.MSV
IF ERRORLEVEL 10 GOTO QUIT
IF ERRORLEVEL 9 GOTO ERR
IF ERRORLEVEL 8 GOTO MISC
IF ERRORLEVEL 7 GOTO DSZ
IF ERRORLEVEL 6 GOTO STD
IF ERRORLEVEL 5 GOTO LOCAL
IF ERRORLEVEL 4 GOTO DEMO
IF ERRORLEVEL 3 GOTO CONFIG
IF ERRORLEVEL 2 GOTO INFO
IF ERRORLEVEL 1 GOTO QUIKINFO
:ERR
ECHO Batch file error -- please inform Pinnacle at 514-345-9578.
PAUSE
GOTO MAIN
:QUIKINFO
SEE QUIKINFO.DOC
GOTO MAIN
:INFO
IF NOT EXIST *.DOC GOTO MAIN
INFO X
GOTO ERR
:MISC
MISC X
GOTO ERR
:CONFIG
CONFIG
GOTO MAIN
:DEMO
SHOWTEXT SYSOP1
SRUN DEMO
GOTO MAIN
:LOCAL
SAPPHIRE LOCAL
GOTO ERR
:STD
SAPPHIRE
GOTO ERR
:DSZ
IF NOT EXIST DSZ.COM GOTO DSZ2
SHOWTEXT SYSOP3
GOTO MAIN
:DSZ2
SHOWTEXT SYSOP2
ARCE DSZ
PAUSE
GOTO MAIN
:QUIT